package com.moto.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 员工表
 * </p>
 *
 * @author afei
 * @since 2023-08-28
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Emp implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 员工id
     */
    private Integer id;

    /**
     * 员工账号
     */
    private String username;

    /**
     * 员工密码
     */
    private String  password;

    /**
     * 头像
     */
    private String photo;

    /**
     * 性别
     */
    private String sex;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 管理员权限
     */
    private Integer permission;

    /**
     * 用户删除状态
     */
    @ApiModelProperty("账号状态 正常:1，删除: 0")
    @TableLogic(delval = "1")
    private Integer isDelete;
}
